package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("根据id获取app文章")
public class AppByIdArticleVO {

    @ApiModelProperty("唯一id")
    private Long id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("时间")
    @JsonFormat(pattern = "YYYY-MM-dd HH:mm ", timezone = "GMT+8")
    private Date createTime;

}
